package com.system.run.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author testjava
 * @since 2022-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Patient对象", description="")
public class Patient implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.ID_WORKER_STR)
    private String id;

    @ApiModelProperty(value = "名字")
    private String name;

    @ApiModelProperty(value = "性别 ")
    private Integer sex;

    @ApiModelProperty(value = "年龄")
    private Integer age;

    @ApiModelProperty(value = "电话")
    private String phone;

    @ApiModelProperty(value = "栋")
    private Integer building;

    @ApiModelProperty(value = "楼层")
    private Integer floor;

    @ApiModelProperty(value = "房间")
    private Integer room;

    @ApiModelProperty(value = "护士编号")
    private Integer nurseId;

    @ApiModelProperty(value = "入住时间")
    private Date stayTime;

    @ApiModelProperty(value = "离开时间")
    private Date exitTime;

    @ApiModelProperty(value = "是否住院 0是没住院 1是住院")
    private Integer status;


}
